package com.cucn.ingmall.order.feign;

import com.cucn.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author KouChaoJie
 * @since: 2022/1/19 13:46
 */
@FeignClient("ingmall-cart")
public interface CartFeignService {
    /**
     * 获取当前用户选中的购物项
     */
    @ResponseBody
    @GetMapping("/currentUserCartItems")
    public R currentUserCartItems();
}
